def response(template, data={}, node=None):
    return {
        'template': template,
        'data': data,
        'node': node
    }
r = response